﻿<Page
    x:Class="TestingApp.Pages.TeacherLoginPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:local="clr-namespace:TestingApp.Pages"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    Title="TeacherLoginPage"
    d:DesignHeight="450"
    d:DesignWidth="800"
    DataContext="{Binding Source={StaticResource VmLocator}, Path=TeacherLoginPageViewModel}"
    mc:Ignorable="d">

    <Grid>
        <StackPanel
            MinWidth="250"
            HorizontalAlignment="Center"
            VerticalAlignment="Center">
            <TextBlock
                Margin="10"
                Text="Пароль"
                TextAlignment="Center" />
            <TextBox Margin="5" Text="{Binding Password, UpdateSourceTrigger=PropertyChanged}" />
            <Button
                Margin="10"
                Command="{Binding Login}"
                Content="Пароль" />
        </StackPanel>
    </Grid>
</Page>
